<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/}">
    <span>姓名：</span></td>
    <span th:text="${coursesChecked.name}"></span><br>
    <span>学号：</span>
    <span th:text="${coursesChecked.sno}"></span><br>
    <span>年级：</span>
    <span th:text="${coursesChecked.grade}"></span><br>
    <span>专业：</span>
    <span th:text="${coursesChecked.department}"></span><br>
    <span>学院：</span>
    <span th:text="${coursesChecked.academy}"></span><br>
    <span>已选课程：</span>
    <label th:each="course:${coursesChecked.course}">
        <span th:text="${course.getKch()}"></span><br>
    </label>
    <input type="submit" value="完成选课">
</form>
</body>
</html>